<?php

use yii\bootstrap\BootstrapAsset;
BootstrapAsset::register($this);

?>

    <select multiple class="form-control" id="kucunsel" style="height: 400px;">
        <?php foreach ($list as $key => $row){ ?>
            <option value="<?= $row['id'] ?>">
                编号：<?= $row['number'] ?>&nbsp;&nbsp;&nbsp;
                数量：<?= $row['num'] ?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                金额：<?= $row['price'] ?>元&nbsp;&nbsp;&nbsp;
            </option>
        <?php } ?>
    </select>